.kaku-switch {
  height: 22px;
  width: 44px;
  border: none;
  background: #bfbfbf;
  border-radius: 11px;
  position: relative;
  z-index: 2;
}
.kaku-switch > span {
  position: absolute;
  top: 2px;
  left: 2px;
  height: 18px;
  width: 18px;
  background: white;
  border-radius: 9px;
  transition: all 250ms;
}
.kaku-switch.kaku-checked {
  background: #1890ff;
}
.kaku-switch.kaku-checked > span {
  left: calc(100% - 18px - 2px);
}
.kaku-switch:focus {
  outline: none;
}
.kaku-switch:active > span {
  width: 22px;
}
.kaku-switch.kaku-checked:active > span {
  width: 22px;
  margin-left: -4px;
}

.kaku-button {
  box-sizing: border-box;
  height: 32px;
  padding: 0 12px;
  cursor: pointer;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  white-space: nowrap;
  background: white;
  color: #333;
  border: 1px solid #d9d9d9;
  border-radius: 4px;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.05);
  transition: background 250ms;
}
.kaku-button + .kaku-button {
  margin-left: 8px;
}
.kaku-button:hover, .kaku-button:focus {
  color: #40a9ff;
  border-color: #40a9ff;
}
.kaku-button:focus {
  outline: none;
}
.kaku-button::-moz-focus-inner {
  border: 0;
}
.kaku-button.kaku-theme-link {
  border-color: transparent;
  box-shadow: none;
  color: #40a9ff;
}
.kaku-button.kaku-theme-link:hover, .kaku-button.kaku-theme-link:focus {
  color: #73c0ff;
}
.kaku-button.kaku-theme-text {
  border-color: transparent;
  box-shadow: none;
  color: inherit;
}
.kaku-button.kaku-theme-text:hover, .kaku-button.kaku-theme-text:focus {
  background: #f2f2f2;
}
.kaku-button.kaku-size-big {
  font-size: 24px;
  height: 48px;
  padding: 0 16px;
}
.kaku-button.kaku-size-small {
  font-size: 12px;
  height: 20px;
  padding: 0 4px;
}
.kaku-button.kaku-theme-button.kaku-level-main {
  background: #40a9ff;
  color: white;
  border-color: #40a9ff;
}
.kaku-button.kaku-theme-button.kaku-level-main:hover, .kaku-button.kaku-theme-button.kaku-level-main:focus {
  background: #0d92ff;
  border-color: #0d92ff;
}
.kaku-button.kaku-theme-button.kaku-level-danger {
  background: red;
  border-color: red;
  color: white;
}
.kaku-button.kaku-theme-button.kaku-level-danger:hover, .kaku-button.kaku-theme-button.kaku-level-danger:focus {
  background: #cc0000;
  border-color: #cc0000;
}
.kaku-button.kaku-theme-link.kaku-level-danger {
  color: red;
}
.kaku-button.kaku-theme-link.kaku-level-danger:hover, .kaku-button.kaku-theme-link.kaku-level-danger:focus {
  color: #cc0000;
}
.kaku-button.kaku-theme-text.kaku-level-main {
  color: #40a9ff;
}
.kaku-button.kaku-theme-text.kaku-level-main:hover, .kaku-button.kaku-theme-text.kaku-level-main:focus {
  color: #0d92ff;
}
.kaku-button.kaku-theme-text.kaku-level-danger {
  color: red;
}
.kaku-button.kaku-theme-text.kaku-level-danger:hover, .kaku-button.kaku-theme-text.kaku-level-danger:focus {
  color: #cc0000;
}
.kaku-button.kaku-theme-button[disabled] {
  cursor: not-allowed;
  color: grey;
}
.kaku-button.kaku-theme-button[disabled]:hover {
  border-color: grey;
}
.kaku-button.kaku-theme-link[disabled], .kaku-button.kaku-theme-text[disabled] {
  cursor: not-allowed;
  color: grey;
}
.kaku-button > .kaku-loadingIndicator {
  width: 14px;
  height: 14px;
  display: inline-block;
  margin-right: 4px;
  border-radius: 8px;
  border-color: #40a9ff #40a9ff #40a9ff transparent;
  border-style: solid;
  border-width: 2px;
  animation: kaku-spin 1s infinite linear;
}

@keyframes kaku-spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
.kaku-tabs-nav {
  display: flex;
  color: #333;
  border-bottom: 1px solid #d9d9d9;
  position: relative;
}
.kaku-tabs-nav-item {
  padding: 8px 0;
  margin: 0 16px;
  cursor: pointer;
}
.kaku-tabs-nav-item:first-child {
  margin-left: 0;
}
.kaku-tabs-nav-item.selected {
  color: #40a9ff;
}
.kaku-tabs-nav-indicator {
  position: absolute;
  height: 3px;
  background: #40a9ff;
  left: 0;
  bottom: -1px;
  width: 100px;
  transition: all 250ms;
}
.kaku-tabs-content {
  padding: 8px 0;
}
.kaku-tabs-content-item {
  display: none;
}
.kaku-tabs-content-item.selected {
  display: block;
}

.kaku-dialog {
  background: white;
  border-radius: 4px;
  box-shadow: 0 0 3px rgba(0, 0, 0, 0.5);
  min-width: 15em;
  max-width: 90%;
}
.kaku-dialog-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 10;
}
.kaku-dialog-wrapper {
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 11;
}
.kaku-dialog > header {
  padding: 12px 16px;
  border-bottom: 1px solid #d9d9d9;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 20px;
}
.kaku-dialog > main {
  padding: 12px 16px;
}
.kaku-dialog > footer {
  border-top: 1px solid #d9d9d9;
  padding: 12px 16px;
  text-align: right;
}
.kaku-dialog-close {
  position: relative;
  display: inline-block;
  width: 16px;
  height: 16px;
  cursor: pointer;
}
.kaku-dialog-close::before, .kaku-dialog-close::after {
  content: "";
  position: absolute;
  height: 1px;
  background: black;
  width: 100%;
  top: 50%;
  left: 50%;
}
.kaku-dialog-close::before {
  transform: translate(-50%, -50%) rotate(-45deg);
}
.kaku-dialog-close::after {
  transform: translate(-50%, -50%) rotate(45deg);
}